import http from '@/module/io/http'
// const perfix = '/dgh'
const perfix = ''
/* 获取收费规则列表 */
export const getChargingRuleList = async () => {
  let res = await http.get(`${perfix}/chargingRule/list`)
  return res
}
/* 修改收费规则 */
export const putChargingRule = async (arr) => {
  let res = await http.post(`${perfix}/chargingRule/update`, arr)
  return res
}
